from django.contrib import admin
from django.urls import path
from bookDisplay import views

urlpatterns = [
    path('get_book_by_number/', views.get_book_by_number, name='get_book_by_number'),
    path('get_book_list/', views.get_book_list, name='get_book_list'),

    path('crawler_book/<int:book_id>/<str:book_name>/', views.crawler_book, name='crawler_book'),
    path('crawler_book_info/<int:book_id>/', views.crawler_book_info, name='crawler_book_info'),
    path('renew_crawler_question_book/<int:book_id>/<int:q_id>/', views.renew_crawler_question_book,
         name='renew_crawler_question_book'),
    path('get_catalog/', views.get_catalog, name='get_catalog')
]
